package com.wef.system.service;

import java.util.List;
import java.util.Set;
import com.gfa4j.service.BaseService;
import com.wef.system.entity.MenuGroup;

public interface MenuGroupService  extends BaseService  {

	public MenuGroup addMenuGroup(MenuGroup menuGroup);

	public MenuGroup updateMenuGroup(MenuGroup menuGroup);

	public void removeMenuGroup(MenuGroup menuGroup);

	public MenuGroup saveOrUpdateMenuGroup(MenuGroup menuGroup);

	public void saveOrUpdateMenuGroups(List<MenuGroup> menuGroups) ;

	public void saveOrUpdateMenuGroups(Set<MenuGroup> menuGroups);
	
	public MenuGroup addMenuGroupByParentId(MenuGroup menuGroup, String parentId);
	
	public MenuGroup updateMenuGroupById(MenuGroup menuGroup);

	public void validateMenuGroup(MenuGroup menuGroup);
	
	public List<MenuGroup> getMenuGroupsByModuleId(String moduleId);

}
